/**
 * Created by tdzl2003 on 2/25/16.
 */

import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';
require('babel-polyfill');

import {init} from './logic/common';

init().then(()=>{
  ReactDOM.render(<App />, document.getElementById('container'));
}).catch(err=> {
  //TODO: 跳转到通用失败页面
  throw err;
});
